import Vue from "vue";
import Vuex from "vuex"
import homeStore from "@/store/modules/homeStore";
import categoryStore from "@/store/modules/categoryStore";
import searchStore from "@/store/modules/searchStore";
import productListStore from "@/store/modules/productListStore";
import detailStore from "@/store/modules/detailStore";
import shopcartStore from "@/store/modules/shopcartStore";
import userStore from "@/store/modules/userStore";

Vue.use(Vuex)

const store = new Vuex.Store({
    modules: {
        homeStore,
        categoryStore,
        searchStore,
        productListStore,
        detailStore,
        shopcartStore,
        userStore
    }
})
export default store
